﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Maticsoft.Web.Admin.Feedback
{
    public partial class detail : PageBase
    {
        BLL.FeedBack bll = new BLL.FeedBack();
        protected Model.FeedBack model = null;

        string id = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            Check("feedback", "read");

            if (!string.IsNullOrEmpty(Request.QueryString["id"]))
            {
                id = Request.QueryString["id"];

                GetData();
            }
        }

        protected void GetData()
        {
            model = bll.GetModel(int.Parse(id));
        }
    }
}